package microcredit.gui.editor.loan;

import microcredit.gui.base.EnumComboBox;
import microcredit.model.domain.LoanStatus;

public class LoanStatusComboBox extends EnumComboBox<LoanStatus>{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public LoanStatusComboBox() {
		super(LoanStatus.values(), true);
	}
	
	@Override
	public String convertToString(LoanStatus enumValue) {
		if (enumValue == null) {
			return "<< please select >>";
		}
		return enumValue.getString();
	}

}
